#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/regex.hpp>
#include <iostream>

int main()
{
	std::string s = "Leonhard Euler";
	boost::iterator_range<std::string::iterator> r = boost::algorithm::find_regex(s,boost::regex("\\w\\s\\w"));
	std::cout << r << std::endl;
}